][DejaVu Sans]
[sl={style:tf, features:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX
:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX higher font size gives less slanted text
]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX higher font size gives less slanted text (or not at all).
Using MkIV text is slanted fine
Dear list,
I have the following sample (using current latest from 2023.08.27 13:48):
\setupinteractionscreen[option=max]
\definefontfamily[maf][rm][DejaVu Sans]
[sl={style:tf, features:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
\pagenumber ODD\else EVEN\fi}
\starttext
\dorecurse{2}{\T\page}
\startTEXpage[width=50mm,height=150mm]\stopTEXpage
\dorecurse{2}{\T\page}
\stoptext
Hi Lukáš,
both makeups and fitting pages aren’t numbered by default.
Either you add this to the preamble:
\setupfittingpage[TEXpage
>\startTEXpage[width=50mm,height=150mm]\stopTEXpage
>\dorecurse{2}{\T\page}
> \stoptext
>
Hi Lukáš,
both makeups and fitting pages aren’t numbered by default.
Either you add this to the preamble:
\setupfittingpage[TEXpage][pagestate=start]
or you add the option &
]
\startsetups[myTEXpagesetup]
\setupwhitespace[line]
\setuptolerance[space]
\stopsetups
\setupfittingpage[TEXpage]
[command=\texsetup{myTEXpagesetup},
height=fit,
width=210mm,
offset=10mm]
\starttext
\startTEXpage
\startsection[title={My Section}]
\placecontent
\stopTEXpage
]. Here is
my document:
***
\setupinteraction[state=start]
\startsetups[myTEXpagesetup]
\setupwhitespace[line]
\setuptolerance[space]
\stopsetups
\setupfittingpage[TEXpage]
[command=\texsetup{myTEXpagesetup},
height=fit,
width=210mm,
offset=10mm]
\starttext
\startTEXpage
the command key to flush the setups content.
\setuplayout [width=8cm]
\setupbodyfont [mono]
\startsetups [myset]
\setupwhitespace [big]
\setuptolerance [space]
\stopsetups
\setupfittingpage[TEXpage][command=\texsetup{myset}]
\starttext
\startTEXpage
\input knuth
\stopTEXpage
\input
with
\def\startMPpage{…}
and \def\startTEXpage{…} but in MkIV both are a instance of fittingpage and the
definition
for them is \definefittingpage[MPpage] and \definefittingpage[TEXpage]. As a
consequence
the old \setupMPpage command is also gone and you have to set global settings
with
\setupfittingpage
control sequence.
system tex error on line 1 in file test.tex: Undefined control
sequence ...
All this worked just fine in the version of last August!
Use \setupfittingpage[MPpage][…=…].
Wolfgang
..
Hi Wolfgang and John,
Both ways work well, thanks a lot! Does this mean
tex error on line 1 in file test.tex: Undefined
control sequence ...
All this worked just fine in the version of last August!
Use \setupfittingpage[MPpage][…=…].
Wolfgang
___
If your question is of interest
both are a instance of fittingpage and the
definition
for them is \definefittingpage[MPpage] and \definefittingpage[TEXpage]. As a
consequence
the old \setupMPpage command is also gone and you have to set global settings
with
\setupfittingpage[environment][settings].
Such a changes do happen
13 matches
Mail list logo